package com.zl.easybuy.mapper;

import com.zl.easybuy.bo.OrderBo;
import com.zl.easybuy.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    int addOrder(Order order);
    Integer countByUserId(Integer id);
    List<Order> findOrderByUserId(Integer id);
    List<Order> findOrderBy(@Param("orderBo") OrderBo orderBo);
    Integer count();
}
